package com.steamedfish.auctionsecurityserveroauth2.controller;


import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@RestController
public class SecurityTokenRefresh {

    @RequestMapping
    public ResponseEntity<?> refreshToken(HttpServletRequest request, HttpServletResponse response) {
        //生成token


        //将token返回


        return null;

    }

}